<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-mobile" class="control-label col-xs-12 col-sm-2">{:__('手机号')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-mobile" data-rule="" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('级别')}:</label>
        <div class="col-xs-12 col-sm-4">
            <select id="c-role" data-rule="required" class="form-control selectpicker" name="row[role]">
                <option value="0" {if 0==$row.role}selected{/if}>无</option>
                <option value="1" {if 1==$row.role}selected{/if}>推广员</option>
                <option value="2" {if 2==$row.role}selected{/if}>代言人</option>
                <option value="3" {if 3==$row.role}selected{/if}>一星网店经销商</option>
                <option value="4" {if 4==$row.role}selected{/if}>二星网店经销商</option>
                <option value="5" {if 5==$row.role}selected{/if}>银牌经销商</option>
                <option value="6" {if 6==$row.role}selected{/if}>金牌经销商</option>
                <option value="7" {if 7==$row.role}selected{/if}>钻石经销商</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否联创伙伴')}:</label>
        <div class="col-xs-12 col-sm-4">
            <select id="c-is_union" data-rule="required" class="form-control selectpicker" name="row[is_union]">
                <option value="0" {if 0==$row.is_union}selected{/if}>否</option>
                <option value="1" {if 1==$row.is_union}selected{/if}>是</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否分隔团队收益')}:</label>
        <div class="col-xs-12 col-sm-4">
            <select id="c-is_sep_income" data-rule="required" class="form-control selectpicker" name="row[is_sep_income]">
                <option value="0" {if 0==$row.is_sep_income}selected{/if}>否</option>
                <option value="1" {if 1==$row.is_sep_income}selected{/if}>是</option>
            </select>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
